﻿using MaterialDesignThemes.Wpf;
using SuperMicroWave.Modbus;
using SuperMicroWave.Models;
using static SuperMicroWave.Common.ConnectInfo;

namespace SuperMicroWave.Common
{
    public class GlobalValue
    {
        public static SnackbarMessageQueue? snackbarMessage = null;

        public static HRegData hRegData = new HRegData();
        public static SysParams sysParams = new SysParams();

        public static NowState NowState = new NowState();

        public static ModbusTcp modBusTcp = new ModbusTcp();

        public static MethodModel methodData = new MethodModel();

        public static HashTableHelper HeatTable = new HashTableHelper("./Heat.dat");
        public static HashTableHelper CoolTable = new HashTableHelper("./Cool.dat");
    }
}
